<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>买书界面</title>
</head>
<body>
<h1 align="center">商品页面</h1>
       <p>登录用户为：${user.name }</p>
    <table align="center">
    	<tr>
    	
			<td><img src="book/Chrysanthemum.jpg" border=0 height="200px"></td>
			<td><img src="book/Desert.jpg" border=0 height="200px"></td>
			<td><img src="book/Hydrangeas.jpg" border=0 height="200px"></td>
		</tr>
		<tr>
		<div>
			<td><button type="button" onclick="/filter/addCart?bid=${book.id}&bname=${book.name }" style="width:130px;height:50px;" >加入购物车</button></td>
			<td><button type="button" onclick="/filter/addCart?bid=${book.id}&bname=${book.name }" style="width:130px;height:50px;" >加入购物车</button></td>
			<td><button type="button" onclick="/filter//addCart?bid=${book.id}&bname=${book.name }" style="width:130px;height:50px;" >加入购物车</button></td>
		</tr>
	</table>
</body>
</html>